package com.sky.service;

import com.github.pagehelper.PageInfo;
import com.sky.dto.EmployeeAccountStatusDTO;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.vo.EmployeePageVO;

import java.util.Map;

public interface EmployeeService {

    /**
     * 员工登录
     *
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    /**
     * 分页查询员工列表
     *
     * @param employeePageQueryDTO
     * @return
     */
    PageInfo<EmployeePageVO> pageQueryList(EmployeePageQueryDTO employeePageQueryDTO);

    /**
     * 启用禁用员工账号
     *
     * @param employeeAccountStatusDTO
     * @return
     */
    void accountStatus(EmployeeAccountStatusDTO employeeAccountStatusDTO);

    /**
     * 新增员工
     *
     * @param employeeDTO
     * @return
     */
    void addEmployee(EmployeeDTO employeeDTO);
}
